package com.czk.pojo;

/**
 * 远程服务器的列表
 * 多个服务器提供服务地址不同
 *
 * @Author:ChenZhangKun
 * @Date: 2021/8/20 10:34
 */
public class URL {
    private String host;
    private Integer port;

    @Override
    public String toString() {
        return "URL{" +
                "host='" + host + '\'' +
                ", port=" + port +
                '}';
    }

    public URL(String host, Integer port) {
        this.host = host;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
